package StudyCode.summary.mydatetime;

import java.util.Calendar;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class GetCalendarDayOfYear {
	public static void main(String[] args) {
		Calendar calendar = Calendar.getInstance();
		System.out.println(calendar.getTime() + " 是" + calendar.get(Calendar.YEAR) + "年第" + calendar.get(Calendar.DAY_OF_YEAR) + "天");
	}
}
